home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / sys / amiga / programmer / 3868 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  1.3 KB

  1. Path: doc.ic.ac.uk!not-for-mail
  2. From: mdf@doc.ic.ac.uk (Martin Frost)
  3. Newsgroups: comp.sys.amiga.programmer
  4. Subject: Re: System-friendly programming. How?
  5. Date: 19 Feb 1996 15:36:05 -0000
  6. Organization: Dept. of Computing, Imperial College, University of London, UK.
  7. Distribution: world
  8. Message-ID: <4ga5d5$ek0@oak65.doc.ic.ac.uk>
  9. References: <4fvrhe$9ll@Waldemar.mat.uni.torun.pl>
  10. Reply-To: mdf@doc.ic.ac.uk (Martin Frost)
  11. NNTP-Posting-Host: oak65.doc.ic.ac.uk
  12. X-Newsreader: mxrn 6.18-23
  13.  
  14.  
  15. In article <4fvrhe$9ll@Waldemar.mat.uni.torun.pl>, microbe@phys.uni.torun.pl (Andrzej Chojnowski) writes:
  16.  
  17. >1) Is there any way to allocate/deallocate each CIA timer?
  18. >2) Is there any player routine which don't need CIA timers to run?
  19. >   (I have 3 different routines: pt-play.s, pt-ciaplay.s, ptplay30b.s)
  20.  
  21. pt-play.s needs you to call it each VBlank, so doesn't use CIAs. pt-ciaplay.s
  22. should be OS-friendy from what I remember: it used cia.resource
  23.  
  24. >Last question may sound stupid : How the Amiga multitasks?
  25. >Is that a kind of timer interrupt which switches the tasks?
  26.  
  27. Tasks are currently switched on the VBlank interrupt.
  28.  
  29. >Does calling Disable prevent the task change like Forbid does?
  30.  
  31. Yes, because if no VBlank interrupts occur then no task switches occur either.
  32. This is mentinoned in the autodoc for Disable()
  33.  
  34. Martin
  35.